package com.song.dubboapi.service.impl.system;

import java.util.ArrayList;
import java.util.List;

import org.dubbo.model.User;

import com.song.dubboapi.service.system.IUserService;

/**   
* @Title: UserServiceImpl.java 
* @Package com.song.dubboapi.service.impl.system 
* @Description: TODO(用一句话描述该文件做什么) 
* @author liusongqing 
* @Company www.viewhigh.com
* @date 2016年8月19日 上午10:42:22 
* @version V1.0   
*/
public class UserServiceImpl implements IUserService {
    public String sayHello(String name) {
        return "Hello " + name;
    }
    public List<User> getUsers() {
        List<User> list = new ArrayList<User>();
        User u1 = new User();
        u1.setName("hejingyuan");
        u1.setAge(20);
        u1.setSex("f");

        User u2 = new User();
        u2.setName("xvshu");
        u2.setAge(21);
        u2.setSex("m");

        
        list.add(u1);
        list.add(u2);
        
        return list;
    }

}

